@$VER: 1.00 @author "Christian Steigies" @(c) "Christian Steigies" @node "Main" "Extract" Short: extracts pieces from files Uploader: steigies@physik.uni-kiel.d400.de @{"Christian Steigies" link "CTS" 0} Author: steigies@physik.uni-kiel.d400.de @{"Christian Steigies" link "CTS" 0} Type: util/cli Extract was written for a @{"poor guy" link "MG" 0}, who has a CD-Rom drive but can't use it together with his HD. As he didn't find a split program which allowed to change the disk after writing a file, I wrote this program, which extracts a given amount of @{"bytes" link "bytes" 0} from a file. After copying the small files on the HD, they can be put together with the join command. To split an archive of 2.000.000 bytes into pieces which fit on DD disk, one could use the follwing commands: Extract large df0:small.1 1 800000 Extract large df0:small.2 800001 1600000 Extract large df0:small.3 1600001 2000000 After copying them all onto HD, join small.1 small.2 small.3 as large can be used to regain the original archive. Usage: Extract This is kind of my first C program, so please don't blame me for bad programming style or if it blows up your Harddisk. I know that it can be programmed smarter, but it runs ok on @{"my" link "CTS" 0} and @{"Martins" link "MG" 0} Amiga, but I don't use it too often (I still have no CD-Rom, and when I have mine, I'm sure that it will work together with my HD). Extract was compiled with GNU C version 2.5.8 (requires ixemul.library, in gcc_ixemul) and with GNU C version 2.6.3 (does not require the ixemul library, in gcc_noixemul, thanx to Martin for this one and testing). The sourcecode is included. @endnode @node "CTS" "Christian Steigies" Christian Steigies Feldstra e 102 24105 Kiel Germany steigies@physik.uni-kiel.d400.de @endnode @node "MG" "poor guy" Martin Gierich: Progammer of the ZShell Versions 2.0+ Try ZShell 2.6, there is a split command included, which makes Extract superfluus :-(( @endnode @node "bytes" "bytes" one byte equals 8 bit! (at least on all the computers I have used so far...) @endnode